package com.example.vehicle.Entity;

/**
 * @name: ChargingStation
 * @description: 充电桩类。
 * @author: Lulu Zhao
 **/
public class ChargingStation {
    String ChargingStationID;
    String Location;
    String Brand;
    String Provider;
    String State;

    public ChargingStation() {
    }

    /**
     * @name: ChargingStation
     * @description: 有参构造函数。
     * @params: [chargingStationID, location, brand, provider, state]
     * @return:
     * @author: Lulu Zhao
     */
    public ChargingStation(String chargingStationID, String location, String brand, String provider, String state) {
        ChargingStationID = chargingStationID;
        Location = location;
        Brand = brand;
        Provider = provider;
        State = state;
    }

    /**
     * @name: getChargingStationID
     * @description: 获取充电桩ID。
     * @params: []
     * @return: java.lang.String
     * @author: Lulu Zhao
     */
    public String getChargingStationID() {
        return ChargingStationID;
    }

    /**
     * @name: setChargingStationID
     * @description: 设置充电桩ID。
     * @params: [chargingStationID]
     * @return: void
     * @author: Lulu Zhao
     */
    public void setChargingStationID(String chargingStationID) {
        ChargingStationID = chargingStationID;
    }

    /**
     * @name: getLocation
     * @description: 获取充电桩位置。
     * @params: []
     * @return: java.lang.String
     * @author: Lulu Zhao
     */
    public String getLocation() {
        return Location;
    }

    /**
     * @name: setLocation
     * @description: 设置充电桩位置。
     * @params: [location]
     * @return: void
     * @author: Lulu Zhao
     */
    public void setLocation(String location) {
        Location = location;
    }

    /**
     * @name: getBrand
     * @description: 获取充电桩品牌。
     * @params: []
     * @return: java.lang.String
     * @author: Lulu Zhao
     */
    public String getBrand() {
        return Brand;
    }

    /**
     * @name: setBrand
     * @description: 设置充电桩品牌。
     * @params: [brand]
     * @return: void
     * @author: Lulu Zhao
     */
    public void setBrand(String brand) {
        Brand = brand;
    }

    /**
     * @name: getProvider
     * @description: 获取充电桩供应商。
     * @params: []
     * @return: java.lang.String
     * @author: Lulu Zhao
     */
    public String getProvider() {
        return Provider;
    }

    /**
     * @name: setProvider
     * @description: 设置充电桩供应商。
     * @params: [provider]
     * @return: void
     * @author: Lulu Zhao
     */
    public void setProvider(String provider) {
        Provider = provider;
    }

    /**
     * @name: getState
     * @description: 获取充电桩状态。
     * @params: []
     * @return: java.lang.String
     * @author: Lulu Zhao
     */
    public String getState() {
        return State;
    }

    /**
     * @name: setState
     * @description: 设置充电桩状态。
     * @params: [state]
     * @return: void
     * @author: Lulu Zhao
     */
    public void setState(String state) {
        State = state;
    }

    /**
     * @name: toString
     * @description: toString方法。
     * @params: []
     * @return: java.lang.String
     * @author: Lulu Zhao
     */
    @Override
    public String toString() {
        return "ChargingStation{" +
                "ChargingStationID='" + ChargingStationID + '\'' +
                ", Location='" + Location + '\'' +
                ", Brand='" + Brand + '\'' +
                ", Provider='" + Provider + '\'' +
                ", State='" + State + '\'' +
                '}';
    }
}
